package milktea.service;

import milktea.dao.ORDERDao;
import milktea.entity.ORDER;

import java.util.ArrayList;

public class ORDERService {
    public static int insert(ORDER order){
        return ORDERDao.insert(order);
    }
    public static ArrayList<ORDER> OrdersByID(String id){
        return ORDERDao.OrdersByID(id);
    }
    public static ORDER OrderByID(String id){
        return ORDERDao.OrderByID(id);
    }
}
